package br.com.hs.nfe.certificado;

import java.security.Key;
import java.security.PublicKey;
import javax.xml.crypto.KeySelectorResult;

/**
 * Classe de implementação de KeySelectorResult
 * @author Ranlive Hrysyk
 */
public class SimpleKeySelectorResult implements KeySelectorResult {

    private PublicKey pk;

    SimpleKeySelectorResult(PublicKey pk) {
        this.pk = pk;
    }

    @Override
    public Key getKey() {
        return this.pk;
    }
}
